let model = require("../model/routerTable");

module.exports = {
    query: (params) => {
        return model.find(params);
    },
    add: (data) => {
        return model.insertMany([data]);
    },
    del:(data)=>{
        return model.deleteOne(data);
    },

}